﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using TuanAnhPersonalWeb.Models;

namespace TuanAnhPersonalWeb.Models
{
    public class ImageModel
    {

        public int? IMAGE_ID { get; set; }
        [Required(ErrorMessage = "*")]
        [Display(Name = "Đường Dẫn Gốc")]
        public string IMAGE_DIR { get; set; }
        [Required(ErrorMessage = "*")]
        [Display(Name = "Đường Dẫn Thumbnail")]
        public string IMAGE_THUMB { get; set; }
        [Required(ErrorMessage = "*")]
        [Display(Name = "Chú Thích Ảnh")]
        public string IMAGE_DESCRIPTION { get; set; }
        public DateTime? CREATE_DATE { get; set; }
        [Required(ErrorMessage = "*")]
        [Display(Name = "Tên Album")]
        public int? ALBUM_ID { get; set; }
        public string ALBUM_NAME { get; set; }
    }
}